using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    
    public class hfg_new
    {
        private int? _id;
        private int? _clsid;
        private byte _clstype;
        private int? _gid;
        private int? _pid;
        private string _newtopics = String.Empty;
        private string _simg = String.Empty;
        private string _newdetail = String.Empty;
        private string _newkey = String.Empty;
        private DateTime? _indate;
        private string _inuser = String.Empty;

        public hfg_new()
        {
        }

       

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _clsid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _clstype = reader.GetByte(2);
        //        if (!reader.IsDBNull(3)) _gid = reader.GetInt32(3);
        //        if (!reader.IsDBNull(4)) _pid = reader.GetInt32(4);
        //        if (!reader.IsDBNull(5)) _newtopics = reader.GetString(5);
        //        if (!reader.IsDBNull(6)) _simg = reader.GetString(6);
        //        if (!reader.IsDBNull(7)) _newdetail = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _newkey = reader.GetString(8);
        //        if (!reader.IsDBNull(9)) _indate = reader.GetDateTime(9);
        //        if (!reader.IsDBNull(10)) _inuser = reader.GetString(10);
        //    }
        //}

       

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? clsid
        {
            get { return _clsid; }
            set { _clsid = value; }
        }

        public byte clstype
        {
            get { return _clstype; }
            set { _clstype = value; }
        }

        public int? gid
        {
            get { return _gid; }
            set { _gid = value; }
        }

        public int? pid
        {
            get { return _pid; }
            set { _pid = value; }
        }

        public string newtopics
        {
            get { return _newtopics; }
            set { _newtopics = value; }
        }

        public string simg
        {
            get { return _simg; }
            set { _simg = value; }
        }

        public string newdetail
        {
            get { return _newdetail; }
            set { _newdetail = value; }
        }

        public string newkey
        {
            get { return _newkey; }
            set { _newkey = value; }
        }

        public DateTime? indate
        {
            get { return _indate; }
            set { _indate = value; }
        }

        public string inuser
        {
            get { return _inuser; }
            set { _inuser = value; }
        }
        #endregion

        
    }
}
